package cn.cqie.attendance.teacher.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.apache.ibatis.type.Alias;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;

/**
 * @author wqh
 * @date 2021/7/6 13:43
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "TeacherCourseReq对象", description = "课程请求参数列表")
@Alias("TeacherCourseReq")
public class TeacherCourseReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "开始日期")
    private Date beginDate;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "结束日期")
    private Date endDate;

    @ApiModelProperty(name = "courseId",value = "项目名称(id)")
    private Integer courseId;

    @ApiModelProperty(value = "当前登录教师(id)")
    private Integer teacherId;

   @ApiModelProperty(value = "实训老师(id)")
    private String trainTeacherId;

    @ApiModelProperty(value = "责任老师(id)")
    private Integer responseTeacher;

    @ApiModelProperty(value = "当前页")
    private Integer pageNum;

    @ApiModelProperty(value = "页面大小")
    private Integer pageSize;
}
